<?php
include("System/Config/config.php");
include(SYSTEM_PATH."Mainboot.php");

if(!isset($_SESSION['userid'])) {
    
    $do = "User";
    $action = "login";
    $do .= "Control";
    $obj = new $do($request);
    $obj->$action();
}
else {
    $request->redirect(DEFAULT_ACTION, '');
}
?>